//
//  TNToolCabinetCollectionViewCell.m
//  TravelNotes
//
//  Created by 黄锋 on 15/8/11.
//  Copyright (c) 2015年 王浩宇. All rights reserved.
//

#import "TNToolCabinetCollectionViewCell.h"

@implementation TNToolCabinetCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        _pic = [[UIImageView alloc] initWithFrame:CGRectMake(frame.size.width / 3, frame.size.width / 5, frame.size.width / 3, frame.size.width / 3)];
        [self.contentView addSubview:_pic];
        _lable = [[UILabel alloc] initWithFrame:CGRectMake(0, frame.size.width / 3 + frame.size.width / 5, frame.size.width, 15)];
        _lable.textAlignment = NSTextAlignmentCenter;
        _lable.font = [UIFont systemFontOfSize:12];
        [self.contentView addSubview:_lable];
    }
    return self;
}

@end
